package com.ruben.features;

/**
 * 内置lombok
 *
 * @author <achao1441470436@gmail.com>
 * @since 2021/7/18 17:55
 */
public class RecordDemo {

    public static void main(String[] args) {
        ruben ruben = new ruben("阿超", 20);
        System.out.println(ruben);
    }

    public static record ruben(String name, Integer age) {
    }
}
